/**
 * Created by 张功 on 2016/2/23.
 */
require([
    'avalon'
], function (avalon) {
    var vm = avalon.define({
        $id: "index",
        ready: function () {
            require([
                "mmRouter",
            ], function () {
                //开始监听
                avalon.history.start();
                avalon.scan();
            })
            window.index = vm;
        },
        reset: function () {
        },
        html: '',
        list:[
            //组件列表
            {
                name:'正则表达式组件',
                en:'cache',
                introduce:'这个是詹伟的组件介绍:‘我在假装正则表达式的介绍’',
                example:'',
                //downLoadHref:'',
            },
            {
                name:'弹出框组件',
                en:'call',
                introduce:'',
                example:'',
                //downLoadHref:'',
            },
            {
                name:'哈哈哈组件',
                en:'door',
                introduce:'',
                example:'',
                //downLoadHref:'',
            },
            {
                name:'吧啦啦啦组件',
                en:'door',
                introduce:'',
                example:'',
                //downLoadHref:'',
            },
        ]
    })
})